home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / sgml-base.postrm < prev    next >
Text File  |  2004-10-26  |  1KB  |  38 lines

  1. #!/bin/sh
  2. ## ----------------------------------------------------------------------
  3. ## debian/postrm : postremoval script for sgml-base
  4. ## ----------------------------------------------------------------------
  5.  
  6. ## ----------------------------------------------------------------------
  7. set -e
  8.  
  9. ## ----------------------------------------------------------------------
  10. if [ "$1" = "purge" ]
  11. then
  12.  
  13.     ## ------------------------------------------------------------------
  14.     ## remove SGML root catalog
  15.     rm -f /etc/sgml/catalog /etc/sgml/catalog.old
  16.  
  17.     ## ------------------------------------------------------------------
  18.     ## remove /etc/sgml
  19.     cd /etc
  20.     rmdir --ignore-fail-on-non-empty sgml
  21.     cd - >/dev/null
  22.  
  23.     ## ------------------------------------------------------------------
  24.     ## remove /var/lib/sgml-base
  25.     cd /var/lib
  26.     rmdir --ignore-fail-on-non-empty sgml-base
  27.     cd - >/dev/null
  28.  
  29. fi
  30.  
  31. ## ---------------------------------------------------------------------- 
  32. ## automatically generated debhelper commands
  33.  
  34.  
  35. exit 0
  36.  
  37. ## ----------------------------------------------------------------------
  38.